{% extends "admin/base_site.html" %}
{% load census_filters %}
{% load i18n admin_modify adminmedia %}
{% load url from future %}


{% block branding %}
<h1 id="site-name">{% trans 'Khawajgan Census Reports' %}</h1>
{% endblock %}
        
{% block breadcrumbs %}
<div class="breadcrumbs">
     <a href="../">{% trans "Home" %}</a>     
</div>
{% endblock %}

{% block content %}
<h1> Khawajgan Census City Report</h1>
<TABLE>
	<TR>
		<TH align="left">No.</TH>
		<TH align="left">City </TH>
		<TH align="left">Male </TH>
		<TH align="left">Female </TH> 
		<TH align="left">Male(Under 18) </TH>
		<TH align="left">Female(Under 18) </TH>
		<TH align="left">Total </TH>		
	</TR>
	{% for city, detail in city_details %}
	<TR>
		<TD>{{forloop.counter}}</TD>
		<TD>{{city}}</TD>
		<TD>{{detail.0}}</TD>
		<TD>{{detail.1}}</TD>
		<TD>{{detail.2}}</TD>
		<TD>{{detail.3}}</TD>
		<TD>{{detail.4}}</TD>
	</TR>
	{% endfor %}
	<TR>
		<TD></TD>
		<TD></TD>
		<TD>{{total_count.0}}</TD>
		<TD>{{total_count.1}}</TD>
		<TD>{{total_count.2}}</TD>
		<TD>{{total_count.3}}</TD>
		<TD>{{total_count.4}}</TD>
	</TR>
</TABLE>
{% endblock %}
